package com.pshcp.mapper;

import com.pshcp.domain.dto.DoctorOrderCountDTO;
import com.pshcp.domain.model.PatientOnlineOrder;
import com.pshcp.common.config.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 患者在线订单 Mapper 接口
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
public interface PatientOnlineOrderMapper extends MyMapper<PatientOnlineOrder> {

    /**
     * 医生被挂号数量
     * @param doctorIds
     * @return
     */
    List<DoctorOrderCountDTO> countByDoctorIds(@Param("doctorIds") List<Long> doctorIds);

}
